<form action='<?php echo $this->baseScript ?>/set' method='post' name='myform'>
<table>		
  		<tr><td>請選擇欲設定的學年度：</td><td>
  		<select name="year_semester">
<?php foreach ($this->YearSemester(array("order"=>"year DESC")) as $val):?>
	<option value="<?php echo $val['year']?>-<?php echo $val['semester'] ?>"><?php echo $val['year']?>學年第<?php echo $val['semester']?>學期</option>
<?php endforeach ?>
		</select>
	</td></tr>
	<tr><td>請選擇欲設定的年級：</td>
	<td><select name='sel_grade' >
	<option value=''>請選年級</option>
	<?php foreach ($this->ClassGrade() as $id=>$val): ?>
	<option value="<?php echo  $id ?>"><?php echo $val ?></option>
	<?php endforeach; ?>
	</select>
	</td></tr>
	<tr><td colspan='2'><input type='submit' name='act' value='開始設定' class='b1'>
	</td></tr>
		</table>
</form>
<br>
<div class="alert" style="margin: 5px auto; width: 95%;">
<h1>相關說明</h1>
<ul>
	<li>請選擇一個學年、學期以做設定。</li>
	<li><span class='like_button'>開始設定</span>	會開始進行該學年學期的年級設定。</li>
</ul>
</div>